nosal_add_test(nosal-core-testabort
	SOURCES test_abort.cpp
	LIBS nosal::core
	INCLUDES
           $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
           $<INSTALL_INTERFACE:include>
	OPTIONS -Wno-noexcept-type
)

nosal_add_test(nosal-core-testcoreerrordomain
	SOURCES test_core_error_domain.cpp
	LIBS nosal::core
	INCLUDES
           $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
           $<INSTALL_INTERFACE:include>
)

nosal_add_test(nosal-core-testerrorcode
	SOURCES test_error_code.cpp
	LIBS nosal::core
	INCLUDES
           $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
           $<INSTALL_INTERFACE:include>
)

nosal_add_test(nosal-core-testoptional
	SOURCES test_optional.cpp
	LIBS nosal::core
	INCLUDES
           $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
           $<INSTALL_INTERFACE:include>
)

nosal_add_test(nosal-core-testresult_ex
	SOURCES test_result.cpp
	LIBS nosal::core
	INCLUDES
           $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
           $<INSTALL_INTERFACE:include>
)

nosal_add_test(nosal-core-testresult_noex
	SOURCES test_result.cpp
	LIBS nosal::core
	INCLUDES
           $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
           $<INSTALL_INTERFACE:include>
	OPTIONS -fno-exceptions -fno-rtti
	DEFINITIONS NOSAL_NO_EXCEPTIONS
)

nosal_add_test(nosal-core-testresult-properties
       SOURCES test_result_properties.cpp
       LIBS nosal::core
	INCLUDES
           $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
           $<INSTALL_INTERFACE:include>
)
